package edu.zut.hb.ambition.outpatienttype.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import edu.zut.hb.ambition.base.domain.Excel;

import edu.zut.hb.ambition.base.domain.BaseEntity;
public class Outpatienttype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */

    @Column(name = "outpatientid")
    private String outpatientid;

    @Column(name = "projectname")
    private String projectname;


    @Column(name = "unit")
    private String unit;


    @Column(name = "bigproject")
    private String bigproject;

    @Column(name = "price")
    private BigDecimal price;

    @Column(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ostate;

    public void setOutpatientid(Long outpatientid) 
    {
        this.outpatientid = outpatientid;
    }

    public Long getOutpatientid() 
    {
        return outpatientid;
    }
    public void setProjectname(String projectname) 
    {
        this.projectname = projectname;
    }

    public String getProjectname() 
    {
        return projectname;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBigproject(String bigproject) 
    {
        this.bigproject = bigproject;
    }

    public String getBigproject() 
    {
        return bigproject;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setOstate(String ostate) 
    {
        this.ostate = ostate;
    }

    public String getOstate() 
    {
        return ostate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outpatientid", getOutpatientid())
            .append("projectname", getProjectname())
            .append("unit", getUnit())
            .append("bigproject", getBigproject())
            .append("price", getPrice())
            .append("ostate", getOstate())
            .toString();
    }
}
